<?php
/**
 * @author qingyu8@staff.weibo.com
 * @date 2018/02/27
 */
namespace common\models;

use Yii;
use yii\base\NotSupportedException;
use yii\behaviors\TimestampBehavior;
use yii\web\IdentityInterface;

/**
 * Fund model
 * @property integer $id
 * @property string $owner_uid
 * @property string $amount
 * @property string $use_limit
 * @property string $use_range
 * @property string $status
 * @property integer $ctime
 * @property integer $etime
 * @property string $ext
 */
class Fund extends Base {
    /**
     * @inheritdoc
     */
    public static function tableName() {
        return 'dive_fund';
    }

    const STATUS_CHECKED=1;//已入账
    const STATUS_ADVANCE = 2;//预先,尚未入账

    const USE_RANGE_ALL = 'all';

}
